﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PPI.General;
using PPI.WebConsumer.PPI.Svc;

namespace PPI.WebConsumer
{
    public class WCheckDatabaseConnection
    {
        public static bool CheckConection()
        {
            PPI.Svc.Service1 svc = new Service1();
            ConfigReader reader = ConfigReader.GetInstance();
            return svc.DCheckDatabaseConnection_CheckConnection(reader.ConectionMode);
        }
    }
}
